<script setup>
import svcTree from './svc-tree.vue';
import svcApis from './svc-apis.vue';
import {ref} from "vue";

const currentData = ref(null)

const handleSelect = async (data) => {
  currentData.value = data;
}
</script>

<template>
  <div class="mb-wrap">
    <svc-tree
      @select="handleSelect"
      class="app-cate-menu"
      style="width: 220px"
    />
    <svc-apis
      :current-data="currentData"
    />
  </div>
</template>
